/*
 * @Author: 李环玉 834654733@qq.com
 * @Date: 2024-01-06 18:39:08
 * @LastEditors: 李环玉 834654733@qq.com
 * @LastEditTime: 2024-01-07 05:20:23
 * @FilePath: \vue3-ts-vite\src\views\article\tag\data\add.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
let formItems = {
  rules:{
    repetName: [
      { required: true, message: '报表名称不能为空', trigger: 'blur' }
    ],
  },
  labelPosition:'right',
  labelWidth:120,
  statusIcon:false,
  validateOnRuleChange:true,
  size:"default",
  scrollToError:true,
  items:[
    {
      prop:'name',
      label:'标签名称',
      labelWidth:80,
      inputType:'input',
      span:12,
      placeholder:'',
      clearable:true,
      disabled:false,
      prefixIcon:'',
      suffixIcon:'',
      readonly:false,
      type:'text'
    },
    {
      prop:'type',
      label:'标签类型',
      labelWidth:80,
      inputType:'input',
      span:12,
      placeholder:'',
      clearable:true,
      disabled:false,
      prefixIcon:'',
      suffixIcon:'',
      readonly:false,
      type:'text'
    },
    {
      prop:'icon',
      label:'标签图标',
      labelWidth:80,
      inputType:'input',
      span:12,
      placeholder:'',
      clearable:true,
      disabled:false,
      prefixIcon:'',
      suffixIcon:'',
      readonly:false,
      type:'text'
    },
    {
      prop:'uId',
      label:'对应用户',
      labelWidth:80,
      inputType:'select',
      span:12,
      placeholder:'',
      clearable:true,
      disabled:false,
      readonly:false,
      multiple:false,
      collapseTags:true,
      collapseTagsTooltip:true,
      filterable:true,
      filterMethod:null,
      remote:false,
      remoteMethod:null,
      option:[]
    },
  ]
}

export default formItems